3.248 \(\int \frac {(a+b \log (c (d x^m)^n))^p}{x^3} \, dx\)

Optimal. Leaf size=117 \[ -\frac {2^{-p-1} e^{\frac {2 a}{b m n}} \left (c \left (d x^m\right )^n\right )^{\frac {2}{m n}} \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )^p \left (\frac {a+b \log \left (c \left (d x^m\right )^n\right )}{b m n}\right )^{-p} \Gamma \left (p+1,\frac {2 \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{b m n}\right )}{x^2} \]

[Out]

-2^(-1-p)*exp(2*a/b/m/n)*(c*(d*x^m)^n)^(2/m/n)*GAMMA(1+p,2*(a+b*ln(c*(d*x^m)^n))/b/m/n)*(a+b*ln(c*(d*x^m)^n))^
p/x^2/(((a+b*ln(c*(d*x^m)^n))/b/m/n)^p)

________________________________________________________________________________________

Rubi [A]  time = 0.16, antiderivative size = 117, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {2310, 2181, 2445} \[ -\frac {2^{-p-1} e^{\frac {2 a}{b m n}} \left (c \left (d x^m\right )^n\right )^{\frac {2}{m n}} \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )^p \left (\frac {a+b \log \left (c \left (d x^m\right )^n\right )}{b m n}\right )^{-p} \text {Gamma}\left (p+1,\frac {2 \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{b m n}\right )}{x^2} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*(d*x^m)^n])^p/x^3,x]

[Out]

-((2^(-1 - p)*E^((2*a)/(b*m*n))*(c*(d*x^m)^n)^(2/(m*n))*Gamma[1 + p, (2*(a + b*Log[c*(d*x^m)^n]))/(b*m*n)]*(a
+ b*Log[c*(d*x^m)^n])^p)/(x^2*((a + b*Log[c*(d*x^m)^n])/(b*m*n))^p))

Rule 2181

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> -Simp[(F^(g*(e - (c*f)/d))*(c +
d*x)^FracPart[m]*Gamma[m + 1, (-((f*g*Log[F])/d))*(c + d*x)])/(d*(-((f*g*Log[F])/d))^(IntPart[m] + 1)*(-((f*g*
Log[F]*(c + d*x))/d))^FracPart[m]), x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rule 2310

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Dist[(d*x)^(m + 1)/(d*n*(c*x^n
)^((m + 1)/n)), Subst[Int[E^(((m + 1)*x)/n)*(a + b*x)^p, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, d, m, n, p}
, x]

Rule 2445

Int[((a_.) + Log[(c_.)*((d_.)*((e_.) + (f_.)*(x_))^(m_.))^(n_)]*(b_.))^(p_.)*(u_.), x_Symbol] :> Subst[Int[u*(
a + b*Log[c*d^n*(e + f*x)^(m*n)])^p, x], c*d^n*(e + f*x)^(m*n), c*(d*(e + f*x)^m)^n] /; FreeQ[{a, b, c, d, e,
f, m, n, p}, x] &&  !IntegerQ[n] &&  !(EqQ[d, 1] && EqQ[m, 1]) && IntegralFreeQ[IntHide[u*(a + b*Log[c*d^n*(e
+ f*x)^(m*n)])^p, x]]

Rubi steps

\begin {align*} \int \frac {\left (a+b \log \left (c \left (d x^m\right )^n\right )\right )^p}{x^3} \, dx &=\operatorname {Subst}\left (\int \frac {\left (a+b \log \left (c d^n x^{m n}\right )\right )^p}{x^3} \, dx,c d^n x^{m n},c \left (d x^m\right )^n\right )\\ &=\operatorname {Subst}\left (\frac {\left (c d^n x^{m n}\right )^{\frac {2}{m n}} \operatorname {Subst}\left (\int e^{-\frac {2 x}{m n}} (a+b x)^p \, dx,x,\log \left (c d^n x^{m n}\right )\right )}{m n x^2},c d^n x^{m n},c \left (d x^m\right )^n\right )\\ &=-\frac {2^{-1-p} e^{\frac {2 a}{b m n}} \left (c \left (d x^m\right )^n\right )^{\frac {2}{m n}} \Gamma \left (1+p,\frac {2 \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{b m n}\right ) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )^p \left (\frac {a+b \log \left (c \left (d x^m\right )^n\right )}{b m n}\right )^{-p}}{x^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.14, size = 117, normalized size = 1.00 \[ -\frac {2^{-p-1} e^{\frac {2 a}{b m n}} \left (c \left (d x^m\right )^n\right )^{\frac {2}{m n}} \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )^p \left (\frac {a+b \log \left (c \left (d x^m\right )^n\right )}{b m n}\right )^{-p} \Gamma \left (p+1,\frac {2 \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{b m n}\right )}{x^2} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*(d*x^m)^n])^p/x^3,x]

[Out]

-((2^(-1 - p)*E^((2*a)/(b*m*n))*(c*(d*x^m)^n)^(2/(m*n))*Gamma[1 + p, (2*(a + b*Log[c*(d*x^m)^n]))/(b*m*n)]*(a
+ b*Log[c*(d*x^m)^n])^p)/(x^2*((a + b*Log[c*(d*x^m)^n])/(b*m*n))^p))

________________________________________________________________________________________

fricas [F]  time = 0.93, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (b \log \left (\left (d x^{m}\right )^{n} c\right ) + a\right )}^{p}}{x^{3}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d*x^m)^n))^p/x^3,x, algorithm="fricas")

[Out]

integral((b*log((d*x^m)^n*c) + a)^p/x^3, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \log \left (\left (d x^{m}\right )^{n} c\right ) + a\right )}^{p}}{x^{3}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d*x^m)^n))^p/x^3,x, algorithm="giac")

[Out]

integrate((b*log((d*x^m)^n*c) + a)^p/x^3, x)

________________________________________________________________________________________

maple [F]  time = 0.09, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \ln \left (c \left (d \,x^{m}\right )^{n}\right )+a \right )^{p}}{x^{3}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*ln(c*(d*x^m)^n)+a)^p/x^3,x)

[Out]

int((b*ln(c*(d*x^m)^n)+a)^p/x^3,x)

________________________________________________________________________________________

maxima [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d*x^m)^n))^p/x^3,x, algorithm="maxima")

[Out]

Exception raised: RuntimeError >> ECL says: In function CAR, the value of the first argument is  0which is not
 of the expected type LIST

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (a+b\,\ln \left (c\,{\left (d\,x^m\right )}^n\right )\right )}^p}{x^3} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*log(c*(d*x^m)^n))^p/x^3,x)

[Out]

int((a + b*log(c*(d*x^m)^n))^p/x^3, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (a + b \log {\left (c \left (d x^{m}\right )^{n} \right )}\right )^{p}}{x^{3}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*(d*x**m)**n))**p/x**3,x)

[Out]

Integral((a + b*log(c*(d*x**m)**n))**p/x**3, x)

________________________________________________________________________________________